package org.easymis.air.southwest.modules.organize.service.impl;

import java.util.HashMap;
import java.util.List;

import org.easymis.air.southwest.modules.organize.service.OaMessageMng;
import org.easymis.entitys.mybatis.dto.OaMessage;
import org.easymis.entitys.mybatis.mapper.OaMessageMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class OaMessageMngImpl implements OaMessageMng {
	@Autowired
	private OaMessageMapper mapper;

	public List<org.easymis.entitys.mybatis.dto.OaMessage> getList(OaMessage bean) {
		HashMap<String, Object> params = new HashMap<String, Object>();
		return this.mapper.getList(params);
	}

	public void save(org.easymis.entitys.mybatis.dto.OaMessage bean) {
		this.mapper.save(bean);
	}

	public void update(org.easymis.entitys.mybatis.dto.OaMessage bean) {
		this.mapper.update(bean);
	}

	public void delete(String messageId) {
		this.mapper.delete(messageId);
	}

	public org.easymis.entitys.mybatis.dto.OaMessage findById(String messageId) {
		return this.mapper.findById(messageId);
	}
}
